#include "HardwareSerial.h"

int inByte;                     // Byte read from Serial1

void setup()
{
    // Initialize Serial1
  Serial1.begin(115200); // Ignored by Maple. But needed by boards using hardware serial via a USB to Serial adaptor
}

void loop() 
{
    // Read from Serial1, uses hardware serial 1
    if (Serial1.available()) {
        inByte = Serial1.read();
        Serial1.write(inByte);
    }
}
